.class Lcom/example/m6wmr/MyCollectActivity$3;
.super Ljava/lang/Object;
.source "MyCollectActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/MyCollectActivity;->gethttpData()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/MyCollectActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/MyCollectActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/MyCollectActivity$3;->this$0:Lcom/example/m6wmr/MyCollectActivity;

    .line 290
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 8

    .prologue
    .line 295
    iget-object v5, p0, Lcom/example/m6wmr/MyCollectActivity$3;->this$0:Lcom/example/m6wmr/MyCollectActivity;

    const-string v6, "userInfo"

    const/4 v7, 0x0

    invoke-virtual {v5, v6, v7}, Lcom/example/m6wmr/MyCollectActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v1

    .line 296
    .local v1, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v5, "uid"

    const-string v6, ""

    invoke-interface {v1, v5, v6}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 297
    .local v3, "uid":Ljava/lang/String;
    const-string v5, "pass"

    const-string v6, ""

    invoke-interface {v1, v5, v6}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 299
    .local v0, "pwd":Ljava/lang/String;
    new-instance v5, Ljava/lang/StringBuilder;

    iget-object v6, p0, Lcom/example/m6wmr/MyCollectActivity$3;->this$0:Lcom/example/m6wmr/MyCollectActivity;

    # getter for: Lcom/example/m6wmr/MyCollectActivity;->m:Lmyapp/MyApp;
    invoke-static {v6}, Lcom/example/m6wmr/MyCollectActivity;->access$11(Lcom/example/m6wmr/MyCollectActivity;)Lmyapp/MyApp;

    move-result-object v6

    invoke-virtual {v6}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v6, "/index.php?ctrl=app&source=1&action=collectshop&datatype=json&uid="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&pwd="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&lat="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6wmr/MyCollectActivity$3;->this$0:Lcom/example/m6wmr/MyCollectActivity;

    # getter for: Lcom/example/m6wmr/MyCollectActivity;->m:Lmyapp/MyApp;
    invoke-static {v6}, Lcom/example/m6wmr/MyCollectActivity;->access$11(Lcom/example/m6wmr/MyCollectActivity;)Lmyapp/MyApp;

    move-result-object v6

    invoke-virtual {v6}, Lmyapp/MyApp;->getLat()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&lng="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6wmr/MyCollectActivity$3;->this$0:Lcom/example/m6wmr/MyCollectActivity;

    # getter for: Lcom/example/m6wmr/MyCollectActivity;->m:Lmyapp/MyApp;
    invoke-static {v6}, Lcom/example/m6wmr/MyCollectActivity;->access$11(Lcom/example/m6wmr/MyCollectActivity;)Lmyapp/MyApp;

    move-result-object v6

    invoke-virtual {v6}, Lmyapp/MyApp;->getLng()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 301
    .local v4, "url":Ljava/lang/String;
    iget-object v5, p0, Lcom/example/m6wmr/MyCollectActivity$3;->this$0:Lcom/example/m6wmr/MyCollectActivity;

    # getter for: Lcom/example/m6wmr/MyCollectActivity;->m:Lmyapp/MyApp;
    invoke-static {v5}, Lcom/example/m6wmr/MyCollectActivity;->access$11(Lcom/example/m6wmr/MyCollectActivity;)Lmyapp/MyApp;

    move-result-object v5

    invoke-static {v4, v5}, LPlugclass/HttpConn;->getStr(Ljava/lang/String;Lmyapp/MyApp;)Ljava/lang/String;

    move-result-object v2

    .line 303
    .local v2, "str":Ljava/lang/String;
    const-string v5, "gethttpData------------"

    invoke-static {v5, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 305
    iget-object v5, p0, Lcom/example/m6wmr/MyCollectActivity$3;->this$0:Lcom/example/m6wmr/MyCollectActivity;

    invoke-static {v5, v2}, Lcom/example/m6wmr/MyCollectActivity;->access$12(Lcom/example/m6wmr/MyCollectActivity;Ljava/lang/String;)V

    .line 306
    iget-object v5, p0, Lcom/example/m6wmr/MyCollectActivity$3;->this$0:Lcom/example/m6wmr/MyCollectActivity;

    # getter for: Lcom/example/m6wmr/MyCollectActivity;->h:Landroid/os/Handler;
    invoke-static {v5}, Lcom/example/m6wmr/MyCollectActivity;->access$7(Lcom/example/m6wmr/MyCollectActivity;)Landroid/os/Handler;

    move-result-object v5

    const/4 v6, 0x1

    invoke-virtual {v5, v6}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 308
    return-void
.end method
